/* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!
  \file			uservar_flags.h
  \date			Dec 2011
  \author		TNick

  \brief		Contains the definition for UserVar class


*//*


 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Please read COPYING and README files in root folder
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
#ifndef __USERVAR_FLAGS_INC__
#define __USERVAR_FLAGS_INC__
//
//
//
//
/*  DEFINITIONS    --------------------------------------------------------- */



/// various information packed together
enum		Flags		{


	/**
	*	@brief	simply tell that there's no flag set
	*/
	FL_NONE = 0,


	/**
	*	@brief	the variable is to be preserved between sessions
	*/
	FL_PERMANENET = 1 << 0,


	/**
	*	@brief	the variable is a predefined one
	*
	*	this is as opposite to user defined variables; this
	*	implies \b FL_PERMANENET
	*/
	FL_PREDEF = 1 << 1,


	/**
	*	@brief	the variable can't be modified by usual means
	*/
	FL_READONLY = 1 << 2,


	/**
	*	@brief	the variable is a global one, part of Core module
	*/
	FL_STORE_APP = 0,


	/**
	*	@brief	stored in a module
	*/
	FL_STORE_MOD = 1 << 3,


	/**
	*	@brief	stored in a working unit
	*/
	FL_STORE_UNIT = 2 << 3,


	/**
	*	@brief	used to find the actual value
	*/
	FL_STORE_MASK = 3 << 3,


	/**
	*	@brief	the varible has more than one callback to inform
	*/
	FL_MULTIPLE_KB = 1 << 5,


	/**
	*	@brief	the varible owns the pointer stored inside
	*
	*	this means that it will call delete on that pointer on reset
	*/
	FL_OWN_POINTER = 1 << 6,


	/**
	*	@brief	for validation
	*/
	FL_MAX
};

/*  DEFINITIONS    ========================================================= */
//
//
//
//
#endif // __USERVAR_FLAGS_INC__
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
